package com.smartao.base.position;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.smartao.base.position.Position;
import com.smartao.core.service.BaseService;

@Transactional(readOnly = true)
public interface PositionService extends BaseService<Position, Long> {
	
	public List<Position> findByDepartment(Long id);
	
	public Long countByDepartment(Long id);
	
	public List<Position> findAll();

	Position findPositionAndEmployees(Long id);
	
}
